Documentation
LiveSPInstallation Operating GuideDownload PDF
Monitoring : Data Collection : Check 5 – REST API collection works fine
Check 5 – REST API collection works fine
Process
API endpoint: /api/v1/collect/status//CISCOSDWAN
CUSTOMER_ID: identifier of the customer tenant from provisioning
Expected: status value should equal to HEALTHY
Severity: High
Services involved in the REST API collection chain are:
livesp_maya
livesp_esus-farcaster*
Support action
1. Are all these services up and running?
Source: See Services
If yes: Fix this first
2. Was there a recent degradation and when did it start?
Source: ELK dashboard REST API Analysis (last 4, 12 and 48 hours)
Expected observation on graphs:
Good stability of the number of realms (total, and per Farcaster node)
Relative stability of the number of lines in bridge
No alert regarding CPU load, memory load and disk space
If yes: Capture snapshots, summarize observations
3. Is the API Collector retrieving data for the SDWAN server of this customer?
Source: Look for response size in applicative logs of Maya
Example
Request URL: https://mylivesp.com/api/v1/collect/status/7/CISCOSDWAN
Response JSON content:
{
  "id": "ciscosdwan",
  "name": "CISCOSDWAN",
  "type": "TECHNOLOGY",
  "status": "UNHEALTHY",
  "message": "No data found for the last 5minutes at instant 2020-03-27T08:29:41.372Z, last known data is at 2020-03-27T06:50:00Z"
}